package com.zq.it.dao.admin;

import java.math.BigInteger;
import java.util.Collection;
import java.util.Date;
import java.util.List;

import com.zq.it.pojo.Admin;

public interface AdminDao {	
	public void saveAdminEty(Admin academty);
	public void saveAdminEtyList(Collection<Admin> collection);
	public void deleteAdminEtyByID(BigInteger id);
	public void deleteAdminEtyByObj(Admin admin);
	public void deleteAllEty(Collection<Admin> collection);
	public List<Admin>findAdminEtyList();
	public  List findAdminEtyById(BigInteger id);	
	public void updateAdminEty(Admin admin);
	public List findAdminEtyByName(String name);
	public List findAdminEtyByDate(Date date);
	public List findAdminEtyByExmp(Admin admin);
	public List findAcmyNameAndId();	
	public void saveOrUpdateAdminEty(Admin admin);
	
}
